package com.goverse.mancraft.activity;

import android.app.Activity;
import android.os.Bundle;

import com.goverse.mancraft.R;
import com.goverse.mancraft.world.WorldManager;
import com.goverse.mancraft.world.Time;
import com.goverse.mancraft.world.WorldConfig;


public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        start();
    }

    private void start() {
        WorldManager worldManager = new WorldManager();
        WorldConfig worldConfig = new WorldConfig();
        Time time = new Time();
        time.setHour(9);
        time.setMin(0);
        time.setSec(0);
        worldConfig.setCurrTime(time);
        worldManager.start(worldConfig);
    }
}
